<template>
  <div id="app">
    <a-config-provider :renderEmpty="customizeRenderEmpty" :locale="locale">
      <router-view/>
    </a-config-provider>
  </div>
</template>

<script lang="js">
import zhCN from 'ant-design-vue/es/locale/zh_CN';

export default {
  name: 'App',
  data() {
    return {
      tableEmptyImg: require('@/assets/images/home/notMessage.png'),
      locale: zhCN,
    }
  },
  methods: {
    customizeRenderEmpty () {
      return (
        <div>
          <img src={this.tableEmptyImg} />
        </div>
      )
    }
  }
}
</script>
